package com.xj.sbd.spider.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloSpiderController {
    @Value("${spider.user.ver}")
    private String ver;
    @RequestMapping("/ver")
    public String isVer(){
        return ver + " 夏迹.com@ spider# ..";
    }

    @RequestMapping("/")
    public String helloSpider(){
        return "/: 夏迹.com@ spider# .. ";
    }

    @RequestMapping("/spider")
    public String isSpider(){
        return "/spider: 夏迹.com@ spider# ..";
    }

}
